﻿@using Microsoft.Extensions.Primitives
@{
    ViewData["Title"] = "Logout";
}
<div>
    <p class="lead text-left">退出所有登录?</p>
    <form asp-controller="Connect" asp-action="Logout" method="post">
        @foreach (var parameter in Context.Request.HasFormContentType ?
                (IEnumerable<KeyValuePair<string, StringValues>>)Context.Request.Form : Context.Request.Query)
        {
            <input type="hidden" name="@parameter.Key" value="@parameter.Value" />
        }

        <input class="btn btn-lg btn-success" name="Confirm" type="submit" value="确认" />
    </form>
</div>

